]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
locatePointer: Capitalize class name
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 29 Jun 2019 12:30:23 +0000 (14:30 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 1 Jul 2019 21:09:49 +0000 (21:09 +0000)
... according to our coding style.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

js/ui/locatePointer.js
js/ui/main.js

index 52a0bc48657d62c3d025789682fab4f070750c17..317783a4eac1f84e6de72f66c8bd51e1c55c8f57 100644 (file)
@@ -7,7 +7,7 @@ const Main = imports.ui.main;
 const LOCATE_POINTER_KEY = "locate-pointer";
 const LOCATE_POINTER_SCHEMA = "org.gnome.desktop.interface"
 
-var locatePointer = class {
+var LocatePointer = class {
     constructor() {
         this._settings = new Gio.Settings({schema_id: LOCATE_POINTER_SCHEMA});
         this._ripples = new Ripples.Ripples(0.5, 0.5, 'ripple-pointer-location');
index 5b919148317d8c14d9005804085b7a3ae8a6755c..04f333ea14e289dbef7016972d75a8db85a95ccd 100644 (file)
@@ -172,7 +172,7 @@ function _initializeUI() {
     kbdA11yDialog = new KbdA11yDialog.KbdA11yDialog();
     wm = new WindowManager.WindowManager();
     magnifier = new Magnifier.Magnifier();
-    locatePointer = new LocatePointer.locatePointer();
+    locatePointer = new LocatePointer.LocatePointer();
 
     if (LoginManager.canLock())
         screenShield = new ScreenShield.ScreenShield();